#!/bin/bash

netstat -ntlp 2>&1 | grep 2181 | awk '{print $7}' | awk -F '/' '{print $1}' | xargs kill -9
netstat -ntlp 2>&1 | grep 27017 | awk '{print $7}' | awk -F '/' '{print $1}' | xargs kill -9
